home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 39 lines | [TEXT/GEOL] |
- Item 1059881 14-Aug-90 07:52PDT
-
- From: PHAROS.TECH Pharos Tech, Tech Staff,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: TTEView Read Only
-
- From: Schmitz, Scott D. on Tue, Aug 14, 1990 10:51 AM
- Subject: TTEView Read Only
- To: MacAPP; Schmitz, Scott D.
-
- Someone asked about using a TTEView as Read Only.
-
- If you set the Enabled bit to false and the Accept Changes bit to false, you
- shouldn't have to ovverride the mousedown handler.
-
- I have found that the "Select All" menu item is still enabled however. If you
- want to fix that you can do this (From a previous message):
-
- In TTEView.DoSetupMenus is the line
-
- Enable(cSelectAll, (fHTE^^.teLength > 0));
-
- With this line, the "Select All" menu item was not dimmed for my read only
- text.
-
- I changed that line to this:
- Enable(cSelectAll, fViewEnabled & (fHTE^^.teLength > 0));
-
- I would normally Override this except there are several cases where TTEView is
- used as a field inside of an object and so can't be properly overridden, such
- as in the TTEDocument Object available in the sample application DemoText.
-
- Scott Schmitz
- Pharos Technologies
-
-
-